﻿*{
	margin: 0;
	padding: 0;
}   /*this make header full of the top of page*/
header{
	height: 80px;
}
header h1
{
   width:200px;
   margin:0px;
   font-size:0;
}
header ul{
        float:right;
        height:80px;
        vertical-align:middle;        
        margin: 1px;
        line-height:80px;
padding:0px;
}
header li{
	/*display: inline;*/
        float:left;
        margin:1px;
}

header li a{

	padding: 20px;       /*the method to use display is unclear*/
}
article,#message{
	padding: 30px 10px;
	margin:25px;
}


article h1,h2,p,ul,h3{
	padding: 1em 20px;
}

article h2,p,ul,h3{
	padding-top: 0;
}
#article2 ul{
	padding:0;
	padding-left: 3em;
}

p
{
  line-height:1.5em;
}
p.img{

	padding-top: 0;
	text-indent: 0;
}
p img{
	width: 400px;
	height: 250px;
}
li img{
	width:200px;
	height:125px;
	padding-top:20px;
}
ul li{
	list-style-type: none;
}
ul.img{
	padding-left: 60px;
}
ul.img li{
	list-style-type: none;
	padding:12px;
	width: 200px;
	margin:0;
	text-align: center;
	vertical-align: middle;
	border: solid 1px #ccc;
}
ol {
   padding-left: 3em;
   padding-bottom: 1.5em;
}
ol li{
		list-style-position: inside;
}
table{
	margin: 0px auto;/*左右margin用auto可以使居中,不管大小是%还是px*/
	padding:0px;
	border-collapse: collapse;
	width:97%;
	border:grey;

}
thead{
	background-color: black;
	color:white;
}
tfoot{
	background-color: #ccc;
}
caption{
	caption-side: top;
}

#message h1,h2{
	padding-left: 20px;
}

form p{
	margin-left: 40%;
	padding: 0;
    padding-left: 18px;
    font-size: 12px;
    color: #aaa;


}

form div{
	margin-top: 5px;


}
textarea{
	width: 50%;
	height: 70px;
}

label{
	display: inline-block;
	width: 40%;
	text-align: right;
	padding-right: 15px;
	cursor: pointer;
}
#descript .tips{
	float:left;           /*添加后个人描述四个字才和文本域上对齐,为什么是left*/
}
#descript textarea{
   margin-left: 5px;
}

#submit input{/*input和[]间不要有空格*/
	width: 97%;
	margin:15px auto 0px auto;
	background-color: #2068E4;
	height:2em;
	color: white;
	border: none;
	border-radius: 6px;
	text-align: center;
}
#submit{
	text-align: center;
}

#logo img{
	width: 80px;
	height: 80px;
	padding-left: 40px;
}
#logo{
	line-height: 80px;
	height: 80px;
}
footer p{
	height: 60px;
	line-height: 60px;/*设置与元素高度一致的line-height可使得垂直对齐*/
	padding:0;
	margin: 0;
	text-align: center;
}